
xtset mission_no edate 

** Revised Models for Table 1 **
*Model 1: Month and Year Dummies. Model does not include FDIstock
nbreg shortfallnonzero shortfalllag contributors_lag contiguous_TCC totaltrade p5colony missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2  biased_intervLag i.year i.month if year <=2010, cluster(mission_no)
*Model 2: Adds Month and Year Dummies. Model does not include totaltrade
nbreg shortfallnonzero shortfalllag contributors_lag contiguous_TCC fdistock p5colony missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2  biased_intervLag i.year i.month if year <=2010, cluster(mission_no)
margins, at(contiguous_TCC=(3.337838(1)5.433508)) atmeans
*Model 3* Adds Unit Dummies. Takes out FDI Stock b/c of collinearity w/ totaltrade. Model tests H1 and H2. 
nbreg shortfallnonzero shortfalllag contributors_lag totaltrade missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2 biased_intervLag i.mission_no i.year i.month if year <=2010, cluster(mission_no)
*Model 4* Same as Model 3 but takes out totaltrade b/c of collinearity w/ FDIstock. Model Tests H1 and H3. 
nbreg shortfallnonzero shortfalllag contributors_lag fdistock missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2 biased_intervLag i.mission_no i.year i.month if year <=2010, cluster(mission_no)
*Model 5:Includes fdistock and totaltrade Model Tests H1, H2, and H3.  
nbreg shortfallnonzero shortfalllag contributors_lag totaltrade fdistock missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2 biased_intervLag i.mission_no i.year i.month if year <=2010, cluster(mission_no)
margins, at(contributors_lag=(37(1)55)) atmeans
margins, at(fdistock =(5646.421(100)15030.83)) atmeans

*For RR Memo * 
*The Four Models below use i.edate (Year-Month FEs) rather than Year and also Month FEs. Latter two test H4, so they do not include Mission FEs
nbreg shortfallnonzero shortfalllag contributors_lag contiguous_TCC totaltrade p5colony missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2  biased_intervLag i.edate if year <=2010, cluster(mission_no)
nbreg shortfallnonzero shortfalllag contributors_lag contiguous_TCC fdistock p5colony missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2  biased_intervLag i.edate if year <=2010, cluster(mission_no)
nbreg shortfallnonzero shortfalllag contributors_lag totaltrade missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2 biased_intervLag i.mission_no i.edate if year <=2010, cluster(mission_no)
nbreg shortfallnonzero shortfalllag contributors_lag fdistock  missionlength1_lag authpersonnelinc_lag authpersonneldec_lag totaldeath tpop polity2 biased_intervLag i.mission_no i.edate if year <=2010, cluster(mission_no)








